package hhm.javamode.visitor.translate;

public class Leader implements ItemElement {
	public Leader(String chairman, String premier) {
		super();
		this.chairman = chairman;
		this.premier = premier;
	}

	// 主席
	private String chairman;
	// 国务院总理
	private String premier;

	public String getChairman() {
		return chairman;
	}

	public void setChairman(String chairman) {
		this.chairman = chairman;
	}

	public String getPremier() {
		return premier;
	}

	public void setPremier(String premier) {
		this.premier = premier;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.translate(this);
	}

	@Override
	public String toString() {
		return "Leader [chairman=" + chairman + ", premier=" + premier + "]";
	}

}
